package com.healthcloud.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 手机短信验证码
 * Created by xiam on 2015/6/26.
 */
public class MobileCode extends BaseEntity implements Serializable {

	private static final long serialVersionUID = -2271267745815157767L;

	private String mobile; // 发送的手机号码

	private String code; // 验证码

	private Integer useType; // 验证码使用目的

    private Boolean used; // 是否被使用

	private Integer errorTimes; // 失败次数

	private Date expiredTime; // 验证码过期时间

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

    public Boolean getUsed() {
        return used;
    }

    public void setUsed(Boolean used) {
        this.used = used;
    }

    public Integer getUseType() {
		return useType;
	}

	public void setUseType(Integer useType) {
		this.useType = useType;
	}

	public Integer getErrorTimes() {
		return errorTimes;
	}

	public void setErrorTimes(Integer errorTimes) {
		this.errorTimes = errorTimes;
	}

	public Date getExpiredTime() {
		return expiredTime;
	}

	public void setExpiredTime(Date expiredTime) {
		this.expiredTime = expiredTime;
	}

}
